package com.lw.easyexcel.pojo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {

  @ExcelProperty(value = {"人员学习情况","序号"},index = 0)
  private long id;

  @ExcelProperty(value = {"人员学习情况","姓名"},index = 1)
  @ColumnWidth(value = 15)
  private String name;

  @ExcelProperty(value = {"人员学习情况","创建时间"},index = 2)
  @ColumnWidth(value = 25)
  private Date createdTime;

  @ExcelProperty(value = {"人员学习情况","修改时间"},index = 3)
  @ColumnWidth(value = 25)
  private Date updatedTime;



}
